<?php

$entity = $vars['entity'];
$minutes = $vars['minutes'];
?>
<div id="basic-info" class="form-section-body">
	<div class="elgg-module elgg-module-featured">
		<div class="elgg-head">
			<h3>Informacion sobre esta seccion</h3>
		</div>
		<div class="elgg-body" style="display:none;">
			<ul>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
				<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
			</ul>
		</div>
	</div>
	
	<label for="f1">Cartel
	<?php echo elgg_view("input/file", array('name' => 'icon', "id" => "f1")); ?>
	</label>
	<table cellpadding="0" cellspacing="0">
	<thead>
		<tr>
			<th width="300"><label for="f2">Nombre</label></th>
			<th width="50"><label for="f3">Edicion</label></th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>
				<?php echo elgg_view('input/text', array('name' => 'name', "id" => 'f2', 'value' => $entity->title)); ?>
			</td>
			<td>
				<?php echo elgg_view('input/text', array('name' => 'edition', "id" => 'f3', 'value' => $entity->edition)); ?>
			</td>
		</tr>
	</tbody>
	</table>
	
	
	
	<label>Inicio inscripcion<br>
		<?php echo elgg_view('input/date', array('name' => 'inscription_date_start', 
		'timestamp' => true, 'value' => $entity->inscription_date_start ? $entity->inscription_date_start : time(),
		'readonly' => true, )); ?>
		<?php echo elgg_view('input/dropdown', array('name' => 'inscription_seconds_start', 
		'options_values' => $minutes,
		'value' => getHourInSeconds($entity->inscription_seconds_start)));?>
	</label><br>
	
	
	<label>Fin inscripcion<br>
		<?php echo elgg_view('input/date', array('name' => 'inscription_date_end', 
		'timestamp' => true, 'value' => $entity->inscription_date_end ? $entity->inscription_date_end : time(),
		'readonly' => true, )); ?>
		<?php echo elgg_view('input/dropdown', array('name' => 'inscription_seconds_end', 
		'options_values' => $minutes,
		'value' => getHourInSeconds($entity->inscription_seconds_end)));?>
	</label><br>
	
	<label>Precio entrada/persona (euros)<br>
		<?php echo elgg_view('input/text', array('name' => 'price', "id" => 'f4', 'value' => $entity->price, 'class' => 'elgg-input-prices')); ?>
	</label><br>
	
	<label>Descripcion
		<?php echo elgg_view('input/longtext', array('name' => 'description', 'value' => $entity->description));?>
	</label>
	
	<div class="buttons" style="padding-top: 10px;">
		<a style="float:right" href="#timetable-info" class="elgg-button">Siguiente</a>
	</div>
</div>